package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Food;

import java.util.List;


public interface FoodDao {
    Long findById(Integer id);

    void edit(Food food);

    void add(Food food);

    Page<Food> findAll(String queryString);

    List<String> findFoodById(Integer id);

    List<Food> findAllFoods(Integer id);

    List<Integer> findFoodIdsByOrderId(Integer id);

    void deleteById(Integer id);
}
